//图标模板
var shortcutTemp = 
'<li class="no-user-select" isWrite="{isWrite}" style="left:{left}px;top:{top}px" shortcut="{shortcut}"><img src="{imgsrc}"><span>{title}</span><em></em></li>';

//任务栏模板
var taskTemp = 
'<li window="{num}">'+
	'<b class="focus">'+
		'<img src="{imgsrc}">'+
		'<span>{title}</span>'+
	'</b>'+
'</li>';

//窗口模板
var windowTemp = 
'<div style="width:{width}px;height:{height}px;top:{top}px;left:{left}px;z-index:{zIndex}" class="window-container window-current" window="{num}" id="window_{num}_warp">'+
	'<div style="height: 100%;" id="window_{num}_inner">'+
		'<div class="title-bar">'+
			'<div class="title-bar-bg"></div>'+
			'<span class="header"><img src="{imgsrc}"/>{title}</span>'+
			'<div class="title-handle"><div class="button Js-window-min" title="最小化"><span class="glyphicon glyphicon-minus"></span></div><div class="button Js-window-max" title="最大化"><span class="glyphicon glyphicon-fullscreen"></span></div><div class="button Js-window-restore" title="恢复" style="display:none"><span class="glyphicon glyphicon-resize-small"></span></div><div class="button Js-window-close" title="关闭"><span class="glyphicon glyphicon-remove"></span></div></div>'+
		'</div>'+
		'<div class="frame-border">'+
			'<div class="window-frame" >'+
				'<div id="window-frame-{url}" class="window-body"></div>'+
			'</div>'+
			'<div id="window-bar-{url}" class="set-bar Js-statusBar"></div>'+
		'</div>'+
		'{resize}'+
		'<div style="position:absolute;overflow:hidden;background:url(/web/res/images/transparent.gif) repeat;display:block" resize="min_width"></div>'+
		'<div style="position:absolute;overflow:hidden;background:url(/web/res/images/transparent.gif) repeat;display:block" resize="min_height"></div>'+
	'</div>'+
'</div>';

//窗口拖动模板
var resizeTemp = '<div resize="{resize_type}" style="position:absolute;overflow:hidden;background:url(/web/res/images/transparent.gif) repeat;display:block;{css}"></div>';
